package com.hongye.furniture.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongye.common.core.annotation.Excel;
import com.hongye.common.core.web.domain.BaseEntity;

/**
 * 家具列表对象 hy_furniture
 * 
 * @author 白杨
 * @date 2025-02-14
 */
public class HyFurniture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家具ID */
    private Long id;

    /** 家具名称 */
    @Excel(name = "家具名称")
    private String name;

    /** 家具描述 */
    @Excel(name = "家具描述")
    private String description;

    /** 出售价格 */
    @Excel(name = "出售价格")
    private BigDecimal price;

    /** 区域id */
    @Excel(name = "区域id")
    private Long regionId;

    /** 租赁价格 */
    @Excel(name = "租赁价格")
    private BigDecimal leasePrice;

    /** 材料 */
    @Excel(name = "材料")
    private String material;

    /** 尺寸 */
    @Excel(name = "尺寸")
    private String size;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufacturer;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;
    private Long furnnum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }


    public void setFurnnum(Long Furnnum)
    {
        this.furnnum = Furnnum;
    }

    public Long getFurnnum()
    {
        return furnnum;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setLeasePrice(BigDecimal leasePrice) 
    {
        this.leasePrice = leasePrice;
    }

    public BigDecimal getLeasePrice() 
    {
        return leasePrice;
    }
    public void setMaterial(String material) 
    {
        this.material = material;
    }

    public String getMaterial() 
    {
        return material;
    }
    public void setSize(String size) 
    {
        this.size = size;
    }

    public String getSize() 
    {
        return size;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("price", getPrice())
            .append("furnnum", getFurnnum())
            .append("regionId", getRegionId())
            .append("leasePrice", getLeasePrice())
            .append("material", getMaterial())
            .append("size", getSize())
            .append("manufacturer", getManufacturer())
            .append("categoryId", getCategoryId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
